(face_with_height): Call font_clear_prop.
authorKenichi Handa <handa@m17n.org>
Mon, 27 Jul 2009 04:19:03 +0000 (04:19 +0000)
committerKenichi Handa <handa@m17n.org>
Mon, 27 Jul 2009 04:19:03 +0000 (04:19 +0000)
src/xfaces.c

index 3faaf247296f6f57f45d4a258106a91e4f58f093..4f808e41beb214907a5f4f62b9eb62e13406d407 100644 (file)
@@ -4958,6 +4958,7 @@ face_with_height (f, face_id, height)
   face = FACE_FROM_ID (f, face_id);
   bcopy (face->lface, attrs, sizeof attrs);
   attrs[LFACE_HEIGHT_INDEX] = make_number (height);
+  font_clear_prop (attrs, FONT_SIZE_INDEX);
   face_id = lookup_face (f, attrs);
 #endif /* HAVE_WINDOW_SYSTEM */